package com.woniuxy.lrz.carlproject.controller.form.formgoods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("加载商品属性信息，接收前端传递参数")
public class GoodsPropertyFindForm {

    @ApiModelProperty("商品分类id")
    private Integer goodCategoryId;
    @ApiModelProperty("模糊查询字段")
    private String goodProperty;
    @ApiModelProperty("当前页")
    @NotNull(message = "当前页不能为空")
    private Integer pageNum;
    @ApiModelProperty("每页数据数量")
    @NotNull(message = "每页数量不能为空")
    private Integer pageSize;
}
